package com.thingsgrid.device.entity;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@Document(collection = "function")
//@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "function对象", description = "function对象")
public class Function implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 主键id
	 */
	@Id
	private String functionId;
	/**
	 * 功能类型
	 */
	private String fuctionType;
	/**
	 * 功能名称
	 */
	private String fuctionName;
	/**
	 * 产品id
	 */
	private String productId;
	/**
	 * 标识符
	 */
	private String identifier;
	/**
	 * 数据类型
	 */
	private String dataType;
	/**
	 * 数据定义
	 */
	private String dataDef;
	/**
	 * 创建人
	 */
	private Character create_author;
	/**
	 * 创建时间
	 */
	private String createTime;
}
